package com.ilancuo.thinkinjava.chapter_19;

/**
 * Created by ilancuo on 2018/8/4.
 */
enum Activity {
    SITTING, LYING, STANDING, HOPPING, RUNNING, DOGGING, JUMPING, FALLING, FLYING
}

public class RandomTest {
    public static void main(String[] args) {
        for (int i = 0; i < 20; i++) {
            System.out.print(Enums.random(Activity.class) + " ");
        }
    }
}
